
<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Proton - Admin Template</title>

    <!-- Import google fonts - Heading first/ text second -->
    <!--
        <link rel='stylesheet' type='text/css' href='http://fonts.useso.com/css?family=Open+Sans:400,700|Droid+Sans:400,700' />
    -->
    <!--[if lt IE 9]>
    <link href="http://fonts.useso.com/css?family=Open+Sans:400" rel="stylesheet" type="text/css" />
    <link href="http://fonts.useso.com/css?family=Open+Sans:700" rel="stylesheet" type="text/css" />
    <link href="http://fonts.useso.com/css?family=Droid+Sans:400" rel="stylesheet" type="text/css" />
    <link href="http://fonts.useso.com/css?family=Droid+Sans:700" rel="stylesheet" type="text/css" />
    <![endif]-->

    <!-- Favicon and touch icons -->
    <link rel="shortcut icon" th:href="@{../ico/favicon.ico}" type="image/x-icon" />

    <!-- Css files -->
    <link th:href="@{../css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{../css/jquery.mmenu.css}" rel="stylesheet">
    <link th:href="@{../css/font-awesome.min.css}" rel="stylesheet">
    <link th:href="@{../plugins/jquery-ui/css/jquery-ui-1.10.4.min.css}" rel="stylesheet">
    <link th:href="@{../css/style.min.css}" rel="stylesheet">
    <link th:href="@{../css/add-ons.min.css}" rel="stylesheet">
    <link th:href="@{../plugins/layui/css/layui.css}" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
        .error{
            color:red;
        }
    </style>
</head>


<body>

<!-- start: JavaScript-->




<script th:src="@{../js/jquery-2.1.1.min.js}"></script>


<script th:src="@{../js/jquery-migrate-1.2.1.min.js}"></script>
<script th:src="@{../js/bootstrap.min.js}"></script>
<script th:src="@{../js/jquery.form.js}"></script>
<script th:src="@{../js/jquery.validate.min.js}"></script>
<script th:src="@{../js/messages_zh.js}"></script>

<!-- page scripts -->
<script th:src="@{../plugins/jquery-ui/js/jquery-ui-1.10.4.min.js}"></script>
<script th:src="@{../plugins/datatables/js/jquery.dataTables.min.js}"></script>
<script th:src="@{../plugins/datatables/js/dataTables.bootstrap.min.js}"></script>

<!-- theme scripts -->
<script th:src="@{../js/SmoothScroll.js}"></script>
<script th:src="@{../js/jquery.mmenu.min.js}"></script>
<script th:src="@{../js/core.min.js}"></script>
<script th:src="@{../plugins/layui/layui.js}"></script>

<script>

    //加载layui中的组件layer和layedit
    layui.use(['layer'], function(){
        var layer = layui.layer


        //do something
    });

    <!-- 模态通用JS -->
    function layerOpen(content){


        layer.open({
            type:2,

            title: false,
            area: ['800px', '520px'],
            maxmin: false,
            closeBtn: 1,
            fix: false, //不固定
            shadeClose: true,
            shade: 0.8,
            scrollbar: false,
            content: content
        });
    }
    <!-- 时间日期通用 -->
    function setDatePicker(paraId){
        $(paraId).datepicker({//添加日期选择功能
            closeText: '关闭',
            prevText: '上月',
            nextText: '下月',
            currentText: '今天',
            monthNames: ['一月','二月','三月','四月','五月','六月',
                '七月','八月','九月','十月','十一月','十二月'],
            monthNamesShort: ['一','二','三','四','五','六',
                '七','八','九','十','十一','十二'],
            dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
            dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
            dayNamesMin: ['日','一','二','三','四','五','六'],
            weekHeader: '周',
            dateFormat: 'yy-mm-dd',
            firstDay: 1,
            isRTL: false,
            showMonthAfterYear: true,
            yearSuffix: '年'

        });
    }


</script>


<div class="container-fluid">

    <div class="row">


        <div layout:fragment="content"></div>






    </div>



        <br><br><br>





    </div><!--/container-->




    <div class="clearfix"></div>


</body>
</html>













